<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>XmlRpcMarshaller</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <link rel="stylesheet" type="text/css" href="css/VisDoc.css"/>
    <script src="js/doc.js" type="text/javascript">//</script>
  </head>
  <body pageId="Pagecom_orthogeneric_net_xmlrpc_XmlRpcMarshaller">
    <div class="VisDoc"><span id="PageTop"><!----></span>
      <div class="content"><span class="accessKeysInfo"><span class="label"><a href="#" class="accessKeyInfoToggle" onclick="toggleAccessKeyInfo(); return true;">Access keys</a></span><span class="accessKeyLinks" style="display:none;"><a href="#PageTop" accesskey="t">T</a>op, <a href="#Summary" accesskey="s">S</a>ummary, 
Cl<a href="#Classmethods" accesskey="a">a</a>ss methods</span></span><h1>XmlRpcMarshaller</h1>
        <div class="classProperties">
          <table cellspacing="0">
            <tr>
              <th>Kind of class:</th>
              <td>class</td>
            </tr>
            <tr>
              <th>Inherits from:</th>
              <td>none</td>
            </tr>
            <tr>
              <th class="classDetails">Version:</th>
              <td class="classDetails">0.9</td>
            </tr>
            <tr>
              <th class="classDetails">Author:</th>
              <td class="classDetails">florian.mlodzik@gmail.com</td>
            </tr>
            <tr>
              <th class="classDetails">Classpath:</th>
              <td class="classDetails">com.orthogeneric.net.xmlrpc.XmlRpcMarshaller</td>
            </tr>
            <tr>
              <th class="classDetails">File last modified:</th>
              <td class="classDetails">Saturday, 29 July 2006, 01:12:36</td>
            </tr>
          </table>
        </div>
        <div class="classDescription">
          <div class="descriptionSummary">The XmlRpcMarshaller-class is used for wrapping, serialization and deserialization of Xml remote procedure call and responses values.</div><br /> The implementation is static.<br /> The serialization/deserialization complies to the <a href="http://www.xmlrpc.com/spec">specification</a> with following type mappings:<br />  <br /> AS <> XMLRPC<br /><br /> Boolean <> boolean<br /> String <> string<br /> Number <> int, i4, float<br /> Array <> array<br /> Object <> struct<br /> Date <> dateTime.iso8601<br /><br /> Note: Base64 is not supported at all for marshalling and defaults to String for unmarshalling in this version!<div class="classFields">
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">See also:</span><div class="item"><a href="http://http://www.xmlrpc.com/">www.xmlrpc.com</a></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="summary hasBottomDivider">
          <h2 class="hasBottomDivider"><span id="Summary">Summary</span></h2>
          <div class="methodList">
            <div class="methodSummaryPart"><span class="title">Class methods</span><ul>
                <li>
                  <a href="#marshallCall">marshallCall</a>
                </li>
                <li>
                  <a href="#unmarshallResponse">unmarshallResponse</a>
                </li>
              </ul>
            </div>
          </div>
        </div>
        <div class="methodSection">
          <h2 class="hasBottomDivider"><span id="Classmethods">Class methods</span></h2>
          <div class="method hasBottomDivider">
            <h3 id="marshallCall">marshallCall</h3>
            <div class="fullMemberString">
              <div class="clearfix floatholder">
                <div class="floatbox code">static function <b>marshallCall</b> (

</div>
                <div><span class="code">rMethod:String,
args:Array) : String</span></div>
              </div>
            </div>
            <div class="description">The class-method to marshall the provided values to a XMLRPC-compliant Xml string. </div>
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Parameters:</span><div class="item">
                    <div class="floatbox code colorizedCode">rMethod<span class="itemSeparator">:</span></div>
                    <div>The name of the remote method</div>
                  </div>
                  <div class="item">
                    <div class="floatbox code colorizedCode">args   <span class="itemSeparator">:</span></div>
                    <div>The values to be passed as parameters in the method call</div>
                  </div>
                </div>
              </div>
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Returns:</span><div class="item">The XMLRPC compliant method call Xml string<br /> <br /></div>
                </div>
              </div>
            </div>
          </div>
          <div class="method hasBottomDivider">
            <h3 id="unmarshallResponse">unmarshallResponse</h3>
            <div class="fullMemberString">
              <div class="clearfix floatholder">
                <div class="floatbox code">static function <b>unmarshallResponse</b> (
</div>
                <div><span class="code">doc:XML) : Object</span></div>
              </div>
            </div>
            <div class="description">The class-method to unmarshall the received Xml method response to Actionscript types </div>
            <div class="boxWithBorder">
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Parameters:</span><div class="item">
                    <div class="floatbox code colorizedCode">doc<span class="itemSeparator">:</span></div>
                    <div>The received Xml</div>
                  </div>
                </div>
              </div>
              <div class="boxedElem">
                <div class="contentHolder"><span class="title">Returns:</span><div class="item">The serialized result<br /><br /></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="docFooter"><span class="copyright">&copy; 2006 Florian Mlodzik</span><span class="separator">|</span><span class="createdWith">Created with <a href="http://visiblearea.com/visdoc/">VisDoc</a></span><span class="separator">|</span><span class="creationDate">Saturday, 29 July 2006, 01:22:34</span><span class="separator">|</span><a href="#" onclick="showTOC(); return false;" class="showToc">show TOC</a><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a></span><span class="tocFooter">&copy; 2006 Florian Mlodzik<span class="separator">|</span><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a></span>
        </div>
      </div>
    </div>
  </body>
</html>
